package com.aji.leather1.mapper;

import com.aji.leather1.domain.Class;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
* @author PC
* @description 针对表【class(老化类型表)】的数据库操作Mapper
* @createDate 2025-11-11 11:05:44
* @Entity com.aji.modernLeather.domain.Class
*/
public interface ClassMapper extends BaseMapper<Class> {

    @Select("select id from class where code = #{code}")
    Long getIdByCode(String code);

}




